__author__ = 'liubei'

from box import BoxClient
from glob import glob
import sys

if __name__ == '__main__':
    args = sys.argv[1:]
    client = BoxClient('PRO7ELPlMmNRI0yRyJXKKe2YTV9FKMLP')
    print client.upload_file(args[0].replace('static/', ''), open(glob(args[0])[0], 'rb'))